package com.xbh.boot_study.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class Job implements Serializable {

    private static final long serialVersionUID = -6816227342561912319L;
    /**
     * 工作名称
     */
    @NotBlank(message = "工作名称不能为空!")
    private String jobName;
    /**
     * 工作职位
     */
    @NotBlank(message = "工作职位不能为空!")
    private String jobPosition;
}
